Type Systems and the Program Verification ∗

نویسنده

  • Zoltán Csörnyei
چکیده

The famous slogan by Robin Milner said that ”well-typed programs do not go wrong”. This slogan essentially asserts the soundness of the type system of the programming language. This is the question whether the type system prevents us from writing meaningful and errorfree programs. The proof generation capabilities of proof construction systems based on type theory. The ground of the theory is the typed λ-calculus. The higher-order type system of higherorder subtyping, known as Fω ≤ , has been used as a core calculus for typed languages [1, 4]. There are practical type inference mechanisms that are applicable to any explicitly typed polymorphic language [5]. The most commonly used methods are the Hindley-Milner system for polymorphic type inference and the Milner-Mycroft algorithm for polymorphic recursion. The Curry-Howard isomorphism is a correspondence between type systems and the intuitionistic logic: ”types are formulas, and expressions are proofs”. Types correspond to formulas and the term E of type T correspond to a proof of the formula T where E is a representation, or encoding, of the proof. For instance, minimal propositional logic corresponds to simply typed λ-calculus, first-order logic corresponds to dependent types, second-order logic corresponds to polymorphic types [6]. Program verification deals with the question whether a triple {Pre}P{Post} is consistent. This can be formally defined as ∀s.(Pre ⇒ wp(P,Post)). Type systems allow to express program properties which are automatically verified. Techniques for formally specifying, understanding and verifying program behavior are available, but the program proving is very expensive. Type systems for program languages are well studied, and there are efforts to refine type systems to allow rich classes of program properties to be expressed and to combine ideas of type theories, verification and interpretation [2, 3].

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Developing a Verification and Training Phantom for Gynecological Brachytherapy System

Introduction Dosimetric accuracy is a major issue in the quality assurance (QA) program for treatment planning systems (TPS). An important contribution to this process has been a proper dosimetry method to guarantee the accuracy of delivered dose to the tumor. In brachytherapy (BT) of gynecological (Gyn) cancer it is usual to insert a combination of tandem and ovoid applicators with a complicat...

متن کامل

Safety Verification of Real Time Systems Serving Periodic Devices

In real-time systems response to a request from a controlled object must be correct and timely. Any late response to a request from such a device might lead to a catastrophy. The possibility of a task overrun, i.e., missing the deadline for completing a requested task, must be checked and removed during the design of such systems. Safe design of real-time systems running periodic tasks under th...

متن کامل

Using Exciting and Spectral Envelope Information and Matrix Quantization for Improvement of the Speaker Verification Systems

Speaker verification from talking a few words of sentences has many applications. Many methods as DTW, HMM, VQ and MQ can be used for speaker verification. We applied MQ for its precise, reliable and robust performance with computational simplicity. We also used pitch frequency and log gain contour for further improvement of the system performance.

متن کامل

EPID in vivo Dosimetry

Introduction: The most modern radiotherapy devices are equipped with an Electronic Portal Imaging Device (EPID) system which is located on opposite side of the machine’s head. EPID system is often used to setting up the position verification during or between radiotherapy sessions. Material and Methods: Various types of dosimeters have been used to setting up ...

متن کامل

In vivo dose verification using using an amorphous silicon flat panel-type imager (a-Si EPIDs)

Introduction: Electronic portal imaging devices (EPIDs) could be used to dose verification of radiotherapy treatment plans. In vivo dose verification is performed to reduce differences found between dose delivered to the patient and the prescribed dose. The aim of this study was to perform a fast and efficient technique for the verification of delivered dose to the patient usin...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004